/*
 * @Author: fankewen 835656320@qq.com
 * @Date: 2023-12-14 15:15:31
 * @LastEditors: 隔壁小王 18398748175@163.com
 * @LastEditTime: 2024-01-02 13:38:28
 * @FilePath: \symbolimg\demo\vue.config.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
const { defineConfig } = require("@vue/cli-service");
module.exports = defineConfig({
  transpileDependencies: true,
  productionSourceMap: false,
  lintOnSave: false,
  devServer: {
    port:9999,
    proxy: {
      '/api': {
        // target: 'http://192.168.8.100',
        target: 'http://192.168.8.24:8062/',
        changeOrigin: true,
        pathRewrite: {
          '/api': ''
        }
      }
    }
  },
  pages: {
    index: {
      entry: 'src/main.js', // 入口文件
      title: 'demo测试'
    }
  },
});
